Drupal 6 Admin Links Broken - .htaccess

I'm trying to to upgrade a site from Drupal 7 which is going to be moved to a new server. I've moved the site to the new server, and am accessing it through the IP address. All the pages and page links work properly when viewing the site, but when I try to access any of the admin links (i.e. /admin or /admin/config), I'm redirected to the live Drupal 6 site on the old server. I've updated the htaccess file, and changed the base_url variable in the settings file. Any other recommendations? Thanks in advance!

When I've seen that before, it's been due to the Secure Pages module. Make sure you have the Secure Base URL and Non-secure Base URL set correctly for the new site.

Related

How to stop all web pages of my site being redirected to homepage

I installed Drupal 7 and developed a basic site for a friend (http://www.misterklean.org.uk)
It was working lovely, then I noticed months later that every single link on the site (including admin links like admin login!) are being redirected to the homepage.
I contacted my hosts who are refusing to help, saying that it's a scripting problem. The htaccess file hasn't changed since I initially uploaded it - and I've tried re-uploading a default htaccess file which I know works on another of my drupal sites (same hosting company)
I've looked at the server error log file and can't see anything since I'd finished developing the site.
I can post the htaccess file here if people think it might help.
you have not enable the clean URL on the server. so you need to disable the Clean URL form Drupal Admin or database.
you can view the pages like below:
http://www.misterklean.org.uk/?q=clients
http://www.misterklean.org.uk/?q=payment-options
http://www.misterklean.org.uk/?q=enquiries

I have migrated to https some pages of my site but Google is still showing http version

I don't want to migrate the whole site at same time, only some pages for now.
I have done:
install valid certificate
securized all resources into the html code of these pages.
add rel canonical tag
redirect 301 of some pages from http to https version through .htaccess
Google Chrome shows green secured status when access to these pages. Everything it's ok.
I haven't added new site property for https version in Google Search Console because if I do it Google will go to index my whole https site, and i don't want that to happen.
I made these changes 4 days ago and Google still is showing in search results the http version of my migrated pages.
I don't know if we have to add a new property in Google Search Console mandatory or if I just have to wait to google bot recognize the 301 redirect an reindexe pages.
Regards
Try to add links with https in sitemap.xml and add this sitemap in robots.txt and wait googlebot
SOLVED. After 5 days from changes Google is showing https version of my pages. Regards

Drupal 6 site not displaying image links

Having a very strange issue which I hope you can help me with.
No errors in Apache logs. I am running a Drupal6 site, with only a few images that are failing to display.
The site's url is configured as a subdomain, i.e. in sites, directory domain.com.insurance contains all the drupal files, modules, etc.
Using Firebug their relative URLs are set to:
/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
Visiting this file throws a drupal not found page.
The problem here is the URL specified by the developers.
Instead of :
/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
Correct URL is:
/insurance/sites/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
Thats it, hope it helps :)

After migrating Drupal site, saving the admin pages re-directs to old url

I recently migrated a drupal website to a new domain name. The site works fine with one problem . Each time I try to save any data on any of the admin pages , I end up getting redirected to the old url. I have tried a lot to search and find an answer to this problem .. but to no avail. Kindly help .
THanks
presumably you can set the domain in a config file somewhere. Look through the drupal settings.
failing that check for redirects in your Apache/IIS configuration.

Redirect loop problem in IIS on shared hosting

I have a problem where when I go to my website it comes up with a redirect loop. I've tried clearing the URL Redirects from the IIS Admin Console in the web control panel from my hosting provider and I've also tried removing the httpd.ini file from the site root directory to try and clear all re-directs, but for some reason when I go to the site it STILL wants to redirect in an endless loop. The site is agrionline.biz
Before i did anything I had a subdirectory domain pointing set up which made http://agrionline.biz actually use agrionline.biz/site1/ as the root folder.
I wanted to change this so that instead of that I wanted my site to actually redirect to the site1 folder, rather than use it as the root. So I went into the IIS Admin Console on my hosting providers web control panel and tried to add a URL Redirect from '/' to '/site1/'. Then i went to the domain pointing admin page in the hosting providers web control panel and deleted the domain pointing. Anyway after doing all this, the site is now stuffed and if I go to back to both these areas and clear the redirects and the domain pointing and even go and remove the httpd.ini file that was created, the site still incorrectly re-directs!
What can I do to resolve this? Any ideas? Has anyone experienced this before on a shared hosting account without direct access to IIS.
From the control panel it says my server platform is Windows 2008 Server Enterprise.

Resources