webcache behave differently then site - caching

http://webcache.googleusercontent.com/search?q=cache:www.domain.com - when I navigate by this URL , it render me 404 page on my site , but when I go directly on my site , it works properly and there isn't 404 page , all work fine , is webpache parse it differently , or what can be the problem , how can I find out the issue ?
I have found this issue https://github.com/ReactTraining/react-router/issues/5801, but don't see any solution on this topic , I use readt-router

https://medium.com/#georgejustin22/why-google-web-cache-is-not-as-important-for-seo-as-you-think-ce4026c1eb6d found this article and understood that this isn't much important to see there data, it shows 404 because your site executed on another domain and it react-router doesn't work properly, it doesn't match your route and render last page on your routing , in my case for sure it was 404 page

Related

302 and 301 redirecting problem , while share the link in facebook in laravel

facebook debugger error
I have a problem with laravel project. I have added the og tags in my page, but while submitting my URL the facebook or some other social media, the URL is redirecting to some other location. I don't know why its happening, please help me. its argent, note: sorry I am not good at English.
When accessing the url http://wannahelp.com/whapi/swap/sw1820104201114-pulser-150-for-sale-bangalure-sw1820104201114 I get a 302 to http://wannahelp.com/whapi and then a 301 to http://wannahelp.com/whapi/. The last one also happens if I browse http://wannahelp.com/whapi, I get a 301 to http://wannahelp.com/whapi/
Check why the first url is returning a 302. Maybe the advert is not public/enabled?
Hope this helps

Url is working but it's giving page not found error when i check that in websiteoptimization

while validating my application urls in websiteoptimization or facebook, some urls are giving 404 page not found error. But while trying that url in browsers it's working fine.
Url which is causing this problem url . Please let me know what could be the actual problem with this url.

CodeIgniter: 404 Page not found on first launch

Good Day, I have used codeIgniter a little but whenever we download codeIgniter framework from their website and after extraction to the server root folder. If we access the framework we usually se a Welcome page. But here is a different situation that I'm seeing a 404 page not found error page. I have tried a lot but unable to identify what the hack is behind showing a 404 Page instead of the beautiful Welcome Page.
Not sure if it helps, but check the .htaccess and routes. I just answered a similar question here passing variable to default controller in codeigniter

nginx codeigniter subdomain gives error 500

Alright,
So my main site, yorkdigitalsolutions.com is using codeigniter, on nginx and everything works perfectly, I got the redirect and all working perfect.
So I do the same for a codeigniter project I am working on, and I put it to my test subdomain etienne.yorkdigitalsolutions.com, and create the A zone like I should in Linode's dns manager and when I have just a flat html file, it all resolves and works nice, otherwise with the codeigniter project, I get error 500.
Where should I start looking for the problem?
Thanks
Alright,
So it turns out that if you need something (like a database) and codeigniter does not have access to it, it will throw out error 500.
Hopefully this helps someone in the future

Magento Homepage Keeps on redirecting to a 404 page

I have been on this issue for almost a week now and have been research all over the net for answers but i could not find one.
Problem:
each time i access the homepage of my site, it results to a 404 error.
ex.
http://www.domain.com ---> redirects to 404
http://www.domain.com/home ---> enters to the cms page that i set as my homepage
I have already run the magento cleanup scripts but it was not able to solve the problem.
ERROR MESSAGE:
Whoops, our bad...
The page you requested was not found, and we have a fine guess why.
If you typed the URL directly, please make sure the spelling is correct.
If you clicked on a link to get here, the link is outdated.
What can you do?
Have no fear, help is near! There are many ways you can get back on track with Magento Store.
Go back to the previous page.
Use the search bar at the top of the page to search for your products.
Follow these links to get you back on track!
Store Home | My Account
I've got a similar error and would like to post my solution here. The case was exactly the same for me: all the pages, categories, etc. worked perfectly, but the home page showed a 404 error.
I looked into the core_url_rewrite table and discover that there was an entry with the «request_path» field empty. So this entry was rewriting my base url and that was the reason for the 404 in my case. I just deleted it.
Hope this helps to other people.
If you are using the Enterprise version you should check the table enterprise_url_rewrite. The query below should help you:
select * from enterprise_url_rewrite where request_path="";
delete from enterprise_url_rewrite where request_path="";
Check the folowing:
1- System->Configuration->general->Web->secure
Base URL: http://www.your-site.com/
(be sure you are in the right shop site from the top left of the system)
2- System->Configuration->general->Web->Default Pages
Default Web URL: cms (yes just cms)
CMS Home Page: select your cms page
Default No-route URL: cms/index/noRoute
3- check your server has rewrites otherwise
System->Configuration->general->Web->Search Engines Optimization
Use Web Server Rewrites: No
4- something wrong with your .htaccess replace the file with the one in your original installer.
Because StackOveflow has this stupid rule that I must have a certain number of "points" before I can chime in on discussions I need to make this as a "new answer":
open-ecommerce.org's #2 also solved the problem for me
2- System->Configuration->general->Web->Default Pages Default Web URL:
cms (yes just cms) CMS Home Page: select your cms page Default
No-route URL: cms/index/noRoute
for me this was set to "index". No clue how it worked before, or why it was set that way, but after updating it broke and this was the fix for me.
Note that I did also truncate the 'core_url_rewrite' table as well in troubleshooting. If you don't change urls at all, or often, then that's no big deal. But if you are chaning URLs often, then you'll loose your 301 redirect history (all old urls will 404 going forward).
Open-ecommerce.org solution # 2 , worked for me.
I initially set my "Defaul Web URL" as the URL of the homepage. Similar to what I did with the baseURL but I was wrong.
I changed it to "CMS"
From there, it all works.
Thanks!

Resources