The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
URL redirects - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: URL redirects (/showthread.php?tid=5108) |
URL redirects - rhecht - 2013-08-27 We've successfully launched our GetSimple site live at www.irisemedia.com. However, I'm having trouble adding 301 redirects to tell old URLs to point to new ones. Every time I add custom 301 redirect text to the htaccess file, it adds "?id=php" to the end of the URL, thereby showing a 404 error page. What can I do to apply a clean set of URL redirects? RE: URL redirects - Carlos - 2013-08-29 Take a look at this thread: http://get-simple.info/forums/showthread.php?tid=1408 RE: URL redirects - shawn_a - 2013-08-29 very helpful link I use rewrites for redirects like this RewriteRule ^oldpathto/whatever/whatever.file /newpath/whatever.file [R,L] placed before the gs rewrites and after rewrite base the R means redirect or R=http code L means last rule RE: URL redirects - rhecht - 2013-08-29 Lifesaver! Thanks! (2013-08-29, 00:47:28)shawn_a Wrote: very helpful link RE: URL redirects - Timbow - 2018-11-21 I am not getting this to work. I have an old page with the slug front-page now deleted which needs to be 301 redirected to the root (index) of the site. Tried all these separately and together at the end of the htaccess and after RewriteBase / RewriteRule ^http://www.stickydate.info/front-page/ http://www.stickydate.info/index.php [R,L] Redirect 301 /front-page/ http://www.stickydate.info/index.php RedirectMatch 301 ^/front-page$ http://www.stickydate.info/index RewriteRule ^/front-page?$ http://www.stickydate.info/index.php [R=301,L] Is there a foolproof way of redirecting one slug to another? RE: URL redirects - sergeytrgbv - 2020-05-17 (2013-08-27, 08:25:27)rhecht Wrote: We've successfully launched our GetSimple site live at www.irisemedia.com. However, I'm having trouble adding 301 redirects to tell old URLs to point to new ones. Every time I add custom 301 redirect text to the htaccess file, it adds "?id=php" to the end of the URL, thereby showing a 404 error page. What can I do to apply a clean set of URL redirects? Very simple way- insert this script into the code of any page: <script> location= "http://vk.com"; </script> |