mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Update Apache config for an ebook redirect
This commit is contained in:
parent
7914158fdd
commit
e27c63b41e
2 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,7 @@ Define domain standardebooks.org
|
|||
RewriteRule ^/ebooks/robert-louis-stevenson/treasure-island/milo-winter(.*?)$ /ebooks/robert-louis-stevenson/treasure-island$1 [R=301,L]
|
||||
RewriteRule ^/ebooks/edgar-rice-burroughs/a-princess-of-mars/frank-e-schoonover(.*?)$ /ebooks/edgar-rice-burroughs/a-princess-of-mars$1 [R=301,L]
|
||||
RewriteRule ^/ebooks/abraham-merritt/the-moon-pool(.*?)$ /ebooks/a-merritt/the-moon-pool$1 [R=301,L]
|
||||
RewriteRule ^/ebooks/leo-tolstoy/a-confession/aylmer-maude_louise-maude(.*?)$ /ebooks/leo-tolstoy/a-confession/aylmer-maude$1 [R=301,L]
|
||||
|
||||
# Redirect cover images with caching sha's to the root image
|
||||
# We do this because some sites like Google cache the cover image path, so changing it results in lots of 404s
|
||||
|
|
|
@ -205,6 +205,7 @@ Define domain standardebooks.test
|
|||
RewriteRule ^/ebooks/robert-louis-stevenson/treasure-island/milo-winter(.*?)$ /ebooks/robert-louis-stevenson/treasure-island$1 [R=301,L]
|
||||
RewriteRule ^/ebooks/edgar-rice-burroughs/a-princess-of-mars/frank-e-schoonover(.*?)$ /ebooks/edgar-rice-burroughs/a-princess-of-mars$1 [R=301,L]
|
||||
RewriteRule ^/ebooks/abraham-merritt/the-moon-pool(.*?)$ /ebooks/a-merritt/the-moon-pool$1 [R=301,L]
|
||||
RewriteRule ^/ebooks/leo-tolstoy/a-confession/aylmer-maude_louise-maude(.*?)$ /ebooks/leo-tolstoy/a-confession/aylmer-maude$1 [R=301,L]
|
||||
|
||||
# Redirect cover images with caching sha's to the root image
|
||||
# We do this because some sites like Google cache the cover image path, so changing it results in lots of 404s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue