There is your answer. If you have an index.php in the directory of a website, it works. If you donât have an index.php, it doesnât work.
Directory listing is disabled by default on our hosting, so youâll see a 403 Forbidden error if you try to open a directory without an index file. You can read more about that here: Redirected to InfinityFree 403 Forbidden page
To fix macedoniansweregreeks.com, simply upload a index.php file to the htdocs directory of the domain.
Looking at the first website, your website is built using WordPress. If you want to migrate it to a different domain, youâll need to migrate all files, not just the index.php file.
If you want both websites to use the same code, you can also delete the .com domain from your account, and add it back as a Parked Domain, linking it to the same directory as your free subdomain instead of a separate directory.
However, WordPress natively doesnât support displaying the same content on two different domains. Maybe there is a plugin to do it, or maybe you just need to move the website to the .com domain and forget about the free subdomain. Then you can change your site to use your .com domain: Changing The Site URL â Documentation â WordPress.org
Your website appears to be configured to use pretty URLs, but no .htaccess rules are set up to make that work. I see you renamed your .htaccess file to old.htaccess. Please change it back to fix this issue.
Great! Now you just need to change your site URL in WordPress to make your free subdomain redirect to your custom domain, instead of the other way around.
Thank you for your suggestion but unfortunately I find it too complicated for me as I am not well-versed in these matters.
I guess I will have to leave my domain parked and apply an old engineering principle: âif it works, donât f*** with itâ
It is relatively easy. Quoting from the article, this is all youâd need to do:
On the Settings â General screen in a single site installation of WordPress, there are two fields named âWordPress Address (URL)â and âSite Address (URL)â.
Youâd need to change both of these addresses to your new one, that is, http://www.macedoniansweregreeks.com/.
If you wish to leave it unchanged though, thatâs fine too
Hi.
I had done that too, but all the links in the frontpage (and other pages) direct to the subdomain/link instead of my_domain/link and images and other stuff donât load properly.
This is actually a common issue found whenever you just migrated a WordPress website over and changed the home_url option. Besides that setting, you also need to replace every single occurrence that has your old domain with the new domain, otherwise, your images and resources will still attempt to look for things in the old place.
You can achieve this via migration pluginsâ replace URL feature, or simply by MySQL queries. If you use Elementor, you can simply regenerate everything to refresh the data once more.
Thank you for the tip! I didnât know Elementor could regenerate everything.
So I fixed the general site setting and then in Elementor I regenerated everything with my domain url.
Now everything works.