Skip to content

Moving YOURLS from folder to subdomain - possible to .htaccess redirect old YOURLS links to new subdomain? #3734

Closed Answered by dgw
winedog asked this question in Q&A
Discussion options

You must be logged in to vote

This should be very simple. A web search for "htaccess redirect subdirectory to another domain" gave me, as the first result, https://webmasters.stackexchange.com/q/25522/844 with a couple different approaches depending on where you want to keep the .htaccess file related to these redirects.

They've kept the subdirectory on the new domain, but you can remove it and simply redirect to https://links.example.com/$1.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by winedog
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants