rsibbalu Posted July 5, 2013 Share Posted July 5, 2013 Hi All, I want to redirect the new page or link I created, from mysite.com/Rave/en/48-about-us to mysite.com/Rave/en/content/4-about-us. I created two aboutus page in the same site. I just want to redirect the old one mysite.com/Rave/en/48-about-us to the new one mysite.com/Rave/en/content/4-about-us. Please help me to achieve this goal. Link to comment Share on other sites More sharing options...
cocothecat Posted July 5, 2013 Share Posted July 5, 2013 (edited) # Permanent URL Redirect 301 /48-about-us http://www.mysite.com/Rave/en/content/4-about-us replace with correct paths and urls as required. This gets placed in the htaccess file Edited July 5, 2013 by cocothecat (see edit history) Link to comment Share on other sites More sharing options...
rsibbalu Posted July 5, 2013 Author Share Posted July 5, 2013 How can I set this code below? # Permanent URL Redirect 301 /48-about-us http://www.mysite.com/Rave/en/content/4-about-us Do I need to open the .htaccess and edit it? How can I reload the .htaccess to read the new code? I am using a hostgator account shared hosting. Link to comment Share on other sites More sharing options...
cocothecat Posted July 5, 2013 Share Posted July 5, 2013 (edited) You just open the htaccess, add that line of code and then save it. Thats all you need to do. If you regenerate your urls or the htaccess from the back office you will need to add that line again. You may need to put the document path within the old url location first. It all depends how your site is set up and configured Edited July 5, 2013 by cocothecat (see edit history) Link to comment Share on other sites More sharing options...
rsibbalu Posted July 5, 2013 Author Share Posted July 5, 2013 It seems its not working, beauty.com/RaveRouge/en/48-about-us (header page) these URL above is my header page and I want to redirect it to footer page which it has the original content. beauty.com/RaveRouge/en/content/4-about-us (footer page) These two URL exist in my main page, I tried this code below and its not working, # Permanent URL Redirect 301 /RaveRouge/en/content/4-about-us Rave Rouge/en/content/4-about-us did I miss something? Link to comment Share on other sites More sharing options...
rsibbalu Posted July 5, 2013 Author Share Posted July 5, 2013 <div>Hi,</div> <div> </div> <div>I erase the friendly name,</div> <div> </div> <div>so this is the real URL,</div> <div> </div> <div>top header "about us" page</div> <div>yourbeauty.com/RaveRouge/category.php?id_category=48</div> <div> </div> <div> </div> <div>footer "about us" page</div> <div>yourbeauty.com/RaveRouge/cms.php?id_cms</div> <div> </div> <div>I want to redirect the top header page to the footer page.</div> <div> </div> <div>Please help.</div> <div> </div> Link to comment Share on other sites More sharing options...
rsibbalu Posted July 5, 2013 Author Share Posted July 5, 2013 <div> Hi, I erase the friendly name, </div> <div> </div> <div> so this is the real URL, </div> <div> </div> <div> top header "about us" page </div> <div> yourbeauty.com/RaveRouge/category.php?id_category=48 </div> <div> </div> <div> </div> <div> footer "about us" page </div> <div> yourbeauty.com/RaveRouge/cms.php?id_cms </div> <div> </div> <div> I want to redirect the top header page to the footer page. </div> <div> </div> <div> Please help. </div> <div>" Hi, </div> <div> </div> <div> I erase the friendly name, </div> <div> </div> <div> so this is the real URL, </div> <div> </div> <div> top header "about us" page </div> <div> yourbeauty.com/RaveRouge/category.php?id_category=48 </div> <div> </div> <div> </div> <div> footer "about us" page </div> <div> yourbeauty.com/RaveRouge/cms.php?id_cms </div> <div> </div> <div> I want to redirect the top header page to the footer page. </div> <div> </div> <div> Please help. "</div> <div> </div> Link to comment Share on other sites More sharing options...
Recommended Posts