Difference between revisions of "Redirect recommendations"
Your guide to pathway services
(Created page with "Use '''R''' and'''L''' flags for URL redirects. For directory redirect use'''L '''flags. === '''Redirecting URLs:'''<br/> === Always include a trailing slash ''( / )'' for...") |
|||
Line 1: | Line 1: | ||
− | Use '''R''' and'''L''' flags for URL redirects. For directory redirect use'''L '''flags. | + | Use '''R''' and '''L''' flags for URL redirects. For directory redirect use'''L '''flags. |
Line 5: | Line 5: | ||
=== '''Redirecting URLs:'''<br/> === | === '''Redirecting URLs:'''<br/> === | ||
− | Always include a trailing slash ''( / )'' for URL redirect: [http://www.example.com/ | + | Always include a trailing slash ''( / )'' for URL redirect: [http://www.example.com/ <b>www.example.com/</b>] |
+ | |||
Revision as of 13:03, 31 January 2014
Use R and L flags for URL redirects. For directory redirect useL flags.
Redirecting URLs:
Always include a trailing slash ( / ) for URL redirect: www.example.com/
Redirecting sub-directories:
When redirecting subdirectories to a website, specify the subdirectory or the path to the subdirectory relative to the document root. Begin the path with a slash (/) and end with a trailing slash (\).s/subdirectory/anothersubdirectory/1