Difference between revisions of "Redirect recommendations"
Your guide to pathway services
m (Protected "Redirect recommendations" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
|||
(5 intermediate revisions by one user not shown) | |||
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 11: | Line 11: | ||
=== '''Redirecting sub-directories:'''<br/> === | === '''Redirecting sub-directories:'''<br/> === | ||
− | 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 | + | 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 ('''\''') (E.g. s'''/'''''subdirectory/anothersubdirectory'''''/'''1) |
Latest revision as of 09:15, 18 February 2014
Use R and L flags for URL redirects. For directory redirect use L 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 (\) (E.g. s/subdirectory/anothersubdirectory/1)