New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoDaddy Htaccess Problem / Fix #25

Closed
ozh opened this Issue Apr 6, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@ozh
Member

ozh commented Apr 6, 2013

This is a COPY of Issue 25: GoDaddy Htaccess Problem / Fix, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

While using GoDaddy to host YOURLS, I received a 404 error for all short URLs.

Changed this line of htaccess:
RewriteRule ^([0-9A-Za-z]+)/?$ yourls-go.php?id=$1 [L]

to:
RewriteRule ^([0-9A-Za-z]+)/?$ /yourls-go.php?id=$1 [L]

And short URLs work. My thanks to Max Leadford on the WarriorForums.
Submitted here for posterity.  

@ozh ozh closed this Apr 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment