Report this

What is the reason for this report?

How can I remove cached symbolic links?

Posted on October 28, 2016

I am using a script called YOURLS to alias chat room invites into predictable URLs for users with my domain. I was able to make the script work, which involved enabling mod_rewrite and vhost changes to permit .htaccess files to do symbolic link stuff.

However, some URLs appear to be “stuck”, and cannot be updated. Even when the script is completely removed and the directory is empty some of these urls will still go to a location despite the php file that’s supposed to tell them where to go… no longer existing.

I’m thinking there’s some issue with them being cached by the droplet. Restarting apache or the droplet itself does not fix this. Any idea how I could force these urls out of this state?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Are you sure it isn’t on browser? Browser could cache the URL and redirect to it even if you deleted. Best bet is to completely remove browser cache, maybe even try incognito mode (as it doesn’t read from cache/history) or even other browser.

This plugin is based on mod_rewrite. mod_rewrite should not cache anything by itself so it should not make problems. Do you use it alongside mod_cache maybe?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.