Magento URLs not working after moving to new domain - mysql

Actually I moved magento 1.9 site from a domain to an other. I moved all the files and database and now site is working fine but admin url and some other urls like product, category, other pages etc.. are not working and giving 404 error. Any suggestions please ?

Look at core_config_data for base url and admin url. Probably you will need to modify that field

Related

Subdomain of website for Github pages project

I have a Github project, github.com/jeti/matrix, and I set up a "Github pages" site for the project so that it is accessible here jeti.github.io/matrix/.
That is all configurable through Github.
Now, I would like to add a subdomain of my personal website so that the website is accessible via the subdomain matrix.jeti.io of my website jeti.io.
I am just really confused how to do that because the documentation don't seem to show how to redirect a project page to a subdomain. I have tried a few permutations of what I think should be the correct inputs, but because these DNS changes take so long to propagate, it is really hard to test.
Specifically, I would like to know what value to enter into Github as the Custom domain (it seems to me that this should simply be the subdomain matrix.jeti.io, but I am not sure, so I have left this blank):
Then I also need to create the subdomain. I bought the domain through OVH, and they provide a few options for adding a DNS entry:
My understanding is that I need to add 2 apex records. I did that already:
What is unclear to me is whether I also need to add a CNAME entry. This is what the form looks like when I try to add a CNAME entry:
So in recap:
I did not specify the Custom Domain on the Github site.
I created the 2 apex records shown above.
I did not create a CNAME entry.
Please tell me which of these steps needs to be changed and how to modify it.
After more trial and error, the answer seems to be
The Github custom domain should indeed be matrix.jeti.io
I did not need the apex records. In fact, Github emailed me discouraging it. So I deleted the apex records.
In OVH, I added a DNS CNAME entry like this:
The thing that was confusing me is that I thought that the CNAME entry needed to have a link to the original Github pages WITH the project name jeti.github.io/matrix. That was wrong. The target is simply jeti.github.io. (Note the period on the end).

Can't find pages' URL after database renew Wordpress

I have a Wordpress site since a couple year hosted on a trusted domain. A couple weeks ago i forgot to renew my mySql database and obviously the site went down. To give my user a way to contact my shop i created another index.php and, after saving the old index.php given by the Wordpress theme, i deployed it on the server using Filezilla. Yesterday my domain was renewed and they told me everything is working, so i deleted my new index.php page and i deployed back the one got from the WP theme.
Now the home page works wonder, but if i try to show any other page i get a "Not Found - Requested URL was not found on this server". I tried to create another simple page to see if that works, and i get the same error. I didn't change anything in my file system bar index.php, and i'm pretty sure that's the one i used to have before my database went down.
Any ideas?
First of all, thanks #mevius for your answer. Unfortunatly that was one of the first things i tried and it didn't work. What i ended up doing was download the content of my MySql DB and exported all the tables into another DB that shared the host with the first one. After doing that i edited the wp-config file changing the DB name and my website works like a charm again. Thanks!

Website Images dont get loaded, URL looks cryptic

So on a website Iam working on some images dont get loaded.
The console says: Failed to load resource: net::ERR_NAME_NOT_RESOLVED
and then a link like that:
http://s234127563.online.de/wp-content/uploads/2014/04/myimage.png
If I change the first part of the URL http://s234127563.online.de/ to the actual URL http://example.org/ the images get shown
Does anybody know what this problem is about? Maybe some DNS thing or something. I tried different browsers and to renew my ip address and flush dns etc. but nothing changed
Looks like a mismatch in your database. WordPress stores your base URL to generate permanent links etc.
Change the URL stored in WordPress. There’s a page dedicated to that on the WordPress Codex. Hardcoding the URL in wp-config is most reliable, but perhaps not most desired.
The URLs are saved in posts etc, so you may have to update those. The Velvet Blues Update URLs plugin can do this for you.
Manually update non-default fields (theme options, custom fields, etc)
If none of the above works... are you using a CDN of some sort?
Check your database. In the wp_options table there should be 2 rows, one called siteurl and the other one called home. Make sure both are set to be your domain name, so http://example.org/
Wordpress sets this URL at the start during installation, and if you for example had this URL set to something different before, in case of a migration to a different domain name or something else, it can differ from the domain name the website is currently being shown on.

How to make a html Project live if i have Godaddy domain details

Hi everyOne it might be a wrong Question to ask here but i am very new in making any website live , i dont know the basic steps to make any html project which is created in Eclispe .
Please suggest a way , which i can follow !
Login to Godaddy, go to the control panel and from there try to find the file manager. You can upload your files there to the root of your website (The root is just like www.bob.com not a sub domain hello.bob.com).
Before you upload make sure your homepage is index.html.
I hope this helps!
You need to connect your server to the domain ip. If you have a server, put your files there, and then find out the dns. usually 2 addresses, somethign like ns1.address.com & ns2.address.com
Then in godaddy update your dns to match your server. you can try this video: http://www.youtube.com/watch?v=pKBErrvGHaY

Links not working on first click on oscommerce

There is an oscommerce site that I maintain now. There are some links on the homepage like below when one visits the site first time.
http://website.com/index.php?cPath=2?osCsid=80b28bcd9ad38e38e7ded7e200f87b30
This click leads to Not Found error:
The requested URL /the-carriers-c-2 was not found on this server.
But if I go back on homepage and click then this link works without any problem.
On 2nd visit the URLs change to : http://website.com/the-carriers-c-2.html
This seems to be a very peculiar problem, I am new to oscommerce so not sure what the reason is.
Any help would be great.
What version of oscommerce are you running.
earlier versions of oscommerce required third party mods for SEO URLs. I agree with random, that is a generated url by the system.
you should have an .htaccess file in your root, it may be renaned or missing, also you need to have MOD URL REWRITE running on your apache web server so apache knows to handle these kinds of urls properly.