Open davids701124 opened 9 years ago
Hi there. Quite some time ago, I have encountered a similar issue. I am hosting YOURLS on subdomain, but with little changes it should also work for folder on main domain. This is the relevant part of my .htaccess to your question.
Hi thanks for making this useful plugin.
I tried to use this with my WP site. My WP site install in the root and Yourls installed in the subfolder. When I use this together. For example, if I make google.com to mysite.com/g. The shorten url will be point to WP's 404 page. I think it's because this line
I tried to comment it out, the shorten url will work. However, all links on my site won't work anymore. For example
I'm not an expert for .htaccess configuration. Could you guide me is there a way to make this work. How should I rewrite the rule? Thank you.
The original .htaccess is following