CLPhoto
Member
Posted 3 years ago #
Hi, Hope someone can help. I mistakeningly changed my wordpress blog url in admin from http://www.creativelooksphotography.com.au/blog to just my main url, and now I cannot log into admin to change it as it constantly redirects. Is there a way to temporarialy disable this redirect so I can fix my mistake? Please help...
Thanks,
Linda
CLPhoto
Member
Posted 3 years ago #
Hi jdembowski,
Thanks for your response. I was actually able to fix it by using phpMyAdmin to edit the sql database wp_options to change it back to the correct url. Phew!!! Your support is much appreciated tho!
Cheers :)
Linda
jimisaacs
Member
Posted 3 years ago #
3 solutions to this without reinstalling your blog completely:
- Temporarily move/copy all of your wordpress files to your document root.
- If you have access to an .htaccess file, AllowOverwrite it is enabled, and mod_rewrite is enabled, add a temporary rewrite rule before any other you may have to point your base url "/" to your old url "/blog".
- Edit your database in the "(your_prefix)_options" table (most of the time this is the "wp_options" table, the default). The 2 options to check go by the option_names of: siteurl and home
Please, always make a backup before editing your files and/or database like any of this ;)
jimisaacs
Member
Posted 3 years ago #
Wow I took too long, can delete that last one please.