Currently have our staff page http://mysteriarealms.com/staff.html with the staff.html file in the /publichtml directory but would like to change it to http://mysteriarealms.com/staff Forgot how, anyone know how to do this? Thanks!
Thanks!Very easily.
Add a directory in your root directory called "staff".
Then place your "staff.html" file into that directory.
Rename "staff.html" to "index.html"
Your staff page may need some re-coding since you have just changed it's directory.
Contact me if you need any help.
Contact:
Website: http://1amDev.com
Contact Form: http://1amDev.com/contact.html
Email: [email protected]
Skype: OneAmDev
No problemThanks!
Possibly the worst method. What you should do is use .htacess as the folder method kills any chances at SEO.Very easily.
Add a directory in your root directory called "staff".
Then place your "staff.html" file into that directory.
Rename "staff.html" to "index.html"
Your staff page may need some re-coding since you have just changed it's directory.
Contact me if you need any help.
Contact:
Website: http://1amDev.com
Contact Form: http://1amDev.com/contact.html
Email: [email protected]
Skype: OneAmDev
Possibly the worst method. What you should do is use .htacess as the folder method kills any chances at SEO.
The one he did for me worked finePossibly the worst method. What you should do is use .htacess as the folder method kills any chances at SEO.
Lol totally not arkham's staff pageThe one he did for me worked finehttp://mysteriarealms.com/staff all gud
You're wrong once again. All he needs to do is edit .htaccess and add the following:True. However that is more complicated to explain to someone who wants it done simply and quickly.
Folder method still works fine.
Just not in the best of the best of ways.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
You're wrong once again. All he needs to do is edit .htaccess and add the following:
Code:RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.html [NC,L]
If he doesn't have a .htaccess file, he needs to create one and add that code. It's more efficient and it'll help his SEO instead of having you kill it.
and holy crap, its not even a knockoff, its a straight ripoffLol totally not arkham's staff page
or you could say "I dont know what rewrite rules are or how so use them, so I just provided the hacky solution that I usually use because I dont know what I'm doing."
That's probably more accurate.[DOUBLEPOST=1448047507,1448047461][/DOUBLEPOST]
and holy crap, its not even a knockoff, its a straight ripoff
