Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Migration from sub-domain to different new main domain

Migration from sub-domain to different new main domain 10 months 4 weeks ago #49545

HI,

first please find my details for both website:
migration From this (world.prosolutiononline.net/egyptianhotel/) to this (www.egyptiannight.co.uk/)

I moved my word press from the first to the second with these steps but i don't know what's wrong till now:

1- deactivated all plugins.
2- changed the from setting/general/ WordPress Address (URL) from first URL to the Second URL & Site Address (URL) from first URL to Second URL
2- backup from MySql.sql
3- replaced the first URL BY second URL in .SQL file on text editor.
4- backup from all front website files & images & every thing.
5- upload to new server through FTP 7 Creating new mySQL & user & password
6- edit the wp-config.php with new details above.

please find my wp-admin for both to check with me if you can help please
login info edited by Ed for privacy. If you need to send us credentials in the future, we'll give you an email address to send them to.

one more thing the found the . htaccess different i don't know why.

Thanks,
Hossam
Please become a member of OSTraining to reply to this post.

Migration from sub-domain to different new main domain 10 months 4 weeks ago #49550

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hello Hossam,

Try setting your permalinks back to the default permalinks. Then access your site again and see if it works with the defaults.

Looks like you did everything correctly but sometimes you need to reset the permalinks. If that works, we won't need to do more. If it doesn't we'll take another look, but usually that works.

Let us know.
Ed
Please become a member of OSTraining to reply to this post.

Migration from sub-domain to different new main domain 10 months 4 weeks ago #49563

Hi,

I did that but in the first URL the option on Permalink Settings are
(Post Name) = (/%postname%/)
BUT
in second URL the option on Permalink Settings are
(Post Name) = (/index.php/%postname%/)

That is the setting the wordpress ware on when installing & editing the theme.

First: Why they are diffrent?
Second: i think the file on my servers .htacccess difrrent why that happen.

.htaccess for first URL:


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /egyptianhotel/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /egyptianhotel/index.php [L]
</IfModule>

# END WordPress

.htaccess for second URL:

there is no data inside ?????

please have a look with me if you have atime. i can send you FTP & admin details if they are needed my friends.

Thanks,
Hossam
Please become a member of OSTraining to reply to this post.

Migration from sub-domain to different new main domain 10 months 4 weeks ago #49602

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
WordPress should automtically write the htacess file for you.

If the htaccess file does not have the proper permissions WordPress can't write to it, so make sure it is CHMOD 644.

Here is a link to the codex with a wealth of information on permalinks. This may help you understand what is happening.
codex.wordpress.org/Using_Permalinks

You can write your own rules in the htaccess file if you need to.

Ed
Please become a member of OSTraining to reply to this post.
  • Page:
  • 1

Sign Up for OSTraining

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.