- This topic has 10 replies, 3 voices, and was last updated 8 years, 11 months ago by Pratik.
-
AuthorPosts
-
January 14, 2016 at 5:45 am #82835Mark ArgentinoParticipant
Hello
Since the last update of catchbox my home page has a redirect loop.Normally, I have my home page redirect to http://www.mississauga4sale.com/index.htm and it worked fine until recent update of catchbox.
Do you know what I need to do to stop this redirect loop on my homepage?
I’ve tried to disable most redirects in my .htaccess file but I have many redirects in that file and cannot fine the right redirect.
I’m thinking something changed in the last catchbox update to cause this. I’m thinking that the new catchbox update tries to redirect to the root domain whereas I need it to redirect to http://www.mississauga4sale.com/index.htm
Please help if you can
Thank you,
MarkJanuary 14, 2016 at 6:15 am #82836Mark ArgentinoParticipantI noticed in the .htaccess file there is some code as follows:
# BEGIN WordPress – removed the following 7 lines jan 11 2016
<IfModule mod_rewrite.c>
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
could this be what is causing the redirect loop? Was this code added by me or by catchbox recently in an update?
If I comment out the code then my home page gives an error.
If I change the code above to .htm rather than .php and index.htm rather and .php it gives an error too.
Please help if you can.
Thanks
MarkJanuary 14, 2016 at 11:07 am #82850Mark ArgentinoParticipantI likely added the code above quite a while ago to get around the canconical issues with google, that’s my guess, or for one of my plugins….. just guessing here
thanks again for trying to solve this problem as it only arose in the last few weeks and quite honestly I forgot about the home page error and never went back to my home page until today!
Thanks
MarkJanuary 14, 2016 at 12:27 pm #82854MaheshParticipantHi @Mark Argentino,
Did you get the error only after theme update? Its kind of surprising. The theme files doesn’t contains the .htaccess file. It comes with default WordPress core installation. The theme update only change the file within that very theme scope and nothing beyond that. May be it is causing because of the .htacces.
I recommend you to contact the server of the issue.Regards,
MaheshJanuary 15, 2016 at 12:57 am #82894Mark ArgentinoParticipantHi
Maybe I received the error about 2 weeks ago and not sure if it was a theme update or a plugin update
I’ve just restored my site back to December 18th when I know things were working and the redirect loop on the home page only is still there
I’ve contacted my host and there are no redirects
Could it be because my theme is in a folder /news/ and my wordpress files are in the root folder?
If I disable all my plugins do I lose the settings for the plugins when I reactivate later?
Should I resinstall wordpress again?
Any other ideas?
Thank you,
Mark ArgentinoJanuary 15, 2016 at 1:00 am #82895Mark ArgentinoParticipantMy host is saying the index.htm file is not there, is this file created by wordpress only when someone asks for it or is it a “static” page and is always present on the server?
I looked at my index.htm file online using the wordpress administration pages and the file is there, has a permalink of index.htm and has no redirects of any kind in the file
I need to solve this issue as my home page is showing an err+r, please let me know if you’ve ever experienced this or if you have any suggestions that I can try
Thank you,
MarkJanuary 15, 2016 at 1:04 am #82896Mark ArgentinoParticipantHi
Also, I’ve checked my .htaccess file and so have the technical people at my host and there are no redirects causing the redirect loop on the home page
They say it must be a file that is causing this redirect since it’s not in the .htaccess file
Could it be a plugin
What version of php is catch box supported with? Could this be the issue?
Any other thoughts?
Thank you,
MarkJanuary 15, 2016 at 8:46 am #82918Mark ArgentinoParticipantHi
the home page you are now seeing on my site, index.htm , is a file that I have created using dreamweaver and posted it in the root directory to stop the redirect look on the home page.
This tells me that it’s something with wordpress as once I’ve manually uploaded this file and then gone to my wordpress page and edited the file using wordpress, it make no difference to the home page index.htm – this tells me that wordpress is somehow not creating the page index.htm
the other thing I noticed is that on the static index.htm page I created in dreamweaver has the tag function [date] and this is not showing today’s date (as it should) but shows the word [date] – I thought I would mention this so you can see that it’s not catchbox that is creating this page.
not sure how to solve this problem now, can you help?
Thanks
MarkJanuary 17, 2016 at 11:08 am #83055MaheshParticipantHi @Mark Argentino,
index.htm
is not included in WordPress core files. And the shortcode will only work with the theme files no the static html pages.
I haven’t faced such issues.
The redirects may be because of the plugins, please try deactivating the plugins one by one. If the plugin is trust-worthy you won’t lose the settings.Let me know if I can help you further.
Regards,
MaheshJanuary 21, 2016 at 7:26 pm #83406Mark ArgentinoParticipantHello Mahesh,
I purchased the Catch Box Pro version last night and installed to see if that would solve the problem. It didn’t.
I installed a plugin called Redirection, created a redirect from http://www.mississauga4sale.com to http://www.mississauga4sale.com/index.htm and this seems to have solved the issue. I am still convinced that this is a wordpress plugin issue.
When I disabled the Custom Permalinks plugin then the homepage would work, but it would only resolve to http://www.mississauga4sale.com and not http://www.mississauga4sale.com/index.htm and since the index.htm is my preferred homepage within Google I did not want to lose the many years of work to have all my SEO pointing to index.htm
I’ll need to work with this as a temporary fix to this problem and continue to work on it.
Quick question, this is not the correct thread to ask, but now that I have Catch Box Pro I have to re-complete all of the required inputs on the Catch Box Pro Options page and set it up as it was in Catch Box free version, is there a way to migrate all this settings without manually inputting them? I’m afraid of missing something plus I’ve added code to files such as the functions.php file. Can you help with this?
Thanks again for such a great theme and all your help!
MarkJanuary 23, 2016 at 9:47 am #83504PratikParticipantHi @Mark,
The options from free version will migrate to pro version without any user intervention. If you have activated pro version, then the settings in free version should be automatically adjusted in pro version too.
Now, the changes in functions.php will be a bit tricky but what you need to do is create a child theme and add in all the custom functions in the child theme’s functions.php. (Go here for details on child theme creation.) This is what we can suggest at the moment. It recommended to hire a customizer if you are not sure about the things.
We will help you with anything that falls under theme support scope.
Regards,
Pratik -
AuthorPosts
- The topic ‘Redirect loop on home page since last update’ is closed to new replies.