Thread Starter
npolen
(@npolen)
So, my code would like like in my .htaccess file…
Redirect http://www.theram.com/catering.shtml http://www.raminternationalcatering.com
Correct? No code above or below the code typed out above?
Also, where I I upload my .htacess file?
Please re-read the instructions at the page I linked to above.
Thread Starter
npolen
(@npolen)
Hi, I am sorry but I am still having troubles. I have reread it and tried to change my file. This is what I have in my .htaccess file…
Redirect 301 /www.theram.com/catering.shtml http://www.raminternationalcatering.com/
What is wrong? It doesn’t work when I click on the http://www.theram.com/catering.shtml
Try renaming catering.shtml
Thread Starter
npolen
(@npolen)
I am assuming you meant this…
Redirect 301 /catering.shtml http://www.raminternationalcatering.com/
This does not work, any other suggestions to get this to work?
No. Try renaming the file currently called catering.shtml
Thread Starter
npolen
(@npolen)
All due respect but, could you elaborate a little more as to why I should have to rename the file? In my other non-wordpress websites, I have not had to rename files in order to have the .htaccess file work properly. Thanks
You’re trying to redirect a page that exists. It can cause issues.
Redirect 301 catering.shtml http://www.raminternationalcatering.com/
should be fine if the file does NOT exist.
The default WP .htaccess can be seen here: http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29
Put any redirects ABOVE that.
I need to redirect old webpages (not created in WordPress) to the new wordpress home page (www.raminternationalcatering.com). I can’t seem to make the .htaccess file work because I am VERY NEW to the WordPress dashboard and how it works. Could you help me out with some example code and where I am suppose to upload the file? Is it suppose to be in the wp-admin folder or the entire site folder or somewhere else? I have wp-admin, wp-content and wp-includes. Is there suppose to be code before I write ‘Redirect 301 /webpage.html http://www.domain.com/newwebpage.html.
Thanks!
i think you can use short link redirection
nicolaaa – You should really make your own topic, as this is a different situation.
You don’t upload pages into WP. They’re generated dynamically. Write a post (or a page). That gives you a permalink like domain.com/newpage
Then you put THAT info into your .htaccess:
Redirect 301 /webpage.html http://www.domain.com/newwebpage
If you need help understanding how to write pages and posts in WP, start http://codex.wordpress.org/Writing_Posts
Thread Starter
npolen
(@npolen)
Thanks for your help! I really messed up my files and cannot get to my dashboard and the website says 403 forbidden. I am awesome. Ha! I have someone else working on it now, so hopefully they can solve the mystery. 🙁