gerbz / Yourls-Swap-Short-Url

Swap out the shorturls created by yourls if you want to point them somewhere else.
11 stars 5 forks source link

Incompatibility with Always Preview URL Plugin #8

Open checho221 opened 9 years ago

checho221 commented 9 years ago

hi there! well, when i have activated those both plugins, the short path to link (http://shorturl.com/123456) doesn't work (it redirects me to root) and the long path works ok; when i Deactivate the Always Preview plugin, the short path works ok.

thanks in advance.

jslching commented 6 years ago

Replace the 3 RewriteRules in the .htaccess specified in the instructions with:

RewriteRule ^([-0-9A-Za-z]+(\+(all)?)?\~?)/?$ http://shorturl.com/yourls/$1 [L]