Problem with building on local site

Hello There:

My current X-Theme site https://beastmedia.com built originally in 2017 is active online, , while I’m currently building a new site locally.

They are both two-page sites, similar but slightly different.

The old one online has Main Page: HOME and Second Page: CLIENTS

while the new one I’m building locally has HOME and BRANDS

The issue is when I’m on the local site, and click on any menu item under the subpage “BRANDS” - I’m taken to the top of the sub page in the ACTIVE SITE. I have made the menu items between the active and local site slightly different.

For example, one of the menu items in the Local site is pointed to

https://beastmedia.com/#godiva_brand (this corresponds to a section on the BRANDS page)

When I click on it, II am taken to the top of the SUB PAGE in the ACTIVE SITE WITH the url: beastmedia.com/demo-home/works/#godiva Strangely, the actual URL of the sub page in the ACTIVE SITE is https://beastmedia.com/x/#/content/384

What do you think is going on? Any suggestions?

Thank you so much.

Makoto

Hi Makoto,

Thank you for writing in, may we know how did you set up your local site? Is it an exact clone of your live site? What URL you use on your local site, is it a localhost or did you set up a virtual host to replicate the same URL (https://beastmedia.com)?

I believe base on your other thread, you already knew how to properly set up a One Page Navigation. So more likely the issue is on how you set up your local site if your local site is an exact clone of your live site and then you’re using a localhost URL on your local site, then you need to reconfigure/re-setup your menus so it does not link back to the live site.

Hope that helps,
Cheers!

Hello. Thanks for your reply.

I used MAMP to set up my local site. The new site is built from scratch using Ethos Demo - which is the same Demo I used three years ago to build my original and current site.
However I copied the same ID from the original site(https://beastmedia.com/?page_id=384/#toshiba) and used it in the menu for the new site. That maybe the problem. So I went back and and altered the ID in the Primary Menu in the local site from https://beastmedia.com/?page_id=384/#toshiba to https://beastmedia.com/home/brands/#toshiba but that didn’t solve the problem.
Is there a way I can share my local site with you to take look?

Thanks so much

Makoto

Hi Makoto,

Thanks for reaching out.

The ID changes, especially if you created them from scratch again. Please check this on how to find the new ID https://www.wpentire.com/page-id-wordpress/, then replace 384 with the correct ID.

As for the permalinks, it seems like you have a permalink issue as you’re using page_id format. In that case, please go to Admin > Settings > Permalinks and make sure the option is not Plain,

Once resaved, then the format https://beastmedia.com/home/brands/#toshiba should work. If that still the correct URL. You should always based your URLs to the new one.

As for your last question, you may check this https://managewp.com/blog/how-to-access-a-local-website-from-internet-with-port-forwarding. Then provide the resulting site’s URL where we can access it.

Thanks!

Hi. I’m still having issues with Menus on my local site I’m building.
When i’m creating the menu on my local site do I have to enter it as localist? (ie http://localhost:8888/home/our-clients/#godiva_brand) or as https://beastmedia.com/home/our-clients/#godiva_brands? Because the latter always takes me back to the site’s URL (not the localhost) with an error message saying that the page doesn’t exist.
If it would be possible can you take look at the build on my localist and see what I’m doing wrong? I will provide the ip for my localsite. Thank you so much. Makoto.

Hello @beastmedia,

We cannot access your localhost. We recommend that you check out your Settings > General and make sure that the Site URL and the WordPress Address URL is pointing to your local site.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.