• My site is not coming up in Google search results as the https version, but instead the http version. So many wierd things have happened trying to fix this in the last 24 hours: created an .htaccess file with script in it (didn’t work), did the Redirect link from cpanel (site wouldn’t load so I deleted the redirect), my site will load from links on my blog page with https but all styling and javascript is gone as well as images, ….I just checked and now google has my https pages in results. I’m so confused. For some reason now the https pages are there even though I deleted the redirect from cpanel. Here are my issues right now plus some ideas:

    https://fairmountpetservice.com/ this is my poorly designed site from 10 years ago – notice no css or images – it’s all messed up – http version looks fine. I watched a vieo from WordPress Tutorials – WP learning lab and he mentions the problem with js, css and img – thing is, I never had http in my pages. So I don’t know why the redirect didn’t take care of that. I built the site in dreamweaver and di a point-to-file to link images, css and javascript files – same structure on my desktop and on my server. I tried adding https:// and my domain/ to what was there and it didn’t work.

    I know the above site is not a WP site but I built a blog page at https://fairmountpetservice.com/Blog/ and it has the green padlock which doesn’t make sense to me since my site doesn’t.

    By the way, my redirect didn’t work when I first tried it and my site went down – I tried a few different .htaccess files – this is all too much, I know.

    My problem seems to be the js, css and img’s on my pages. I got a report from a site I think called whynopadlock.com. I do not like my old site, so this leads me to this qiestion:

    Can I rebuild my entire site with wordpress, even though wordpress seems to reside not at fairmountpetservice.com but fairmountpetservice.com/blog? I copied all the source code to a test page I just created and threw the script into dreamweaver – saved it as testhome.html and uploaded it to my server – here’s the link:

    https://fairmountpetservice.com/testhome.html

    Can’t believe it but it took on all the design of my blog.

    So it looks like I can rebuild every page of my root site in WP, copy script into dreamweaver, save as my old files, upload (After testing and backing up) the new files and that should solve the problem, right? Plus a better deisgn. Any thoughts?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Of course you could recreate your old site in WP. However, generating pages and transforming them through Dreamweaver into static .html files is a poor approach. If the old site is poorly designed, why would you want to recreate it? I’m sure much of the textual content could still be useful. That can easily be copied into WP pages, the restyled as is fitting for your new site.

    You could use the current /Blog/ installation as your primary site by redirecting root requests to the WP installation. I would advise placing a WP installation in the public root as your primary site. You could have two WP installations if that was easier for you, but ideally everything would be accomplished in a single installation. It takes a little doing to move an installation to root. I say get it over with now, it will just get more difficult to do later.

    After moving, delete the /Blog/ folder, then configure your WP site to use a static front page. Create another page named “Blog” and specify this as the blog listing page in settings. Create as many pages in WP as you feel you need to replace content from the old site.

    Hello, kernix, & welcome.

    There are a few things to talk about here, perhaps, if possible, let’s simplify & take these 1 at a time.

    Please log into your dashboard, go to the ‘General’ tab under ‘Settings’, & change your urls to https://www.fairmountpetservices.com. This should then get both your https:// & your
    www. fairmountpetservices.com loading w/the https:// protocol.

    You can indeed rebuild your entire site using WordPress. You can do that in 1 of 2 ways. You can either rebuild the site, & entitle your posting page as ‘blog to contain your posts; or you can have 2 separate WordPress installations.

    I notice also that a child theme seems to be used on your blog. Those can, unfortunately, become dated over time & throw errors, resulting in messed up images, etc. fairmountpetservices.com & fairmountpetservices.com/blog seem to both redirect to your blog. There does seem to be a cache plugin running there, which can also produce confusing results, as you’re undoubtedly getting an older copy. Clearing your browser cache, using a different browser, &/or clearing the plugin cache, or all of the above, will help.

    Please let us see your .htaccess file. Please enclose it in `backticks`, ie,
    `line 1
    line 2
    line 3`

    • This reply was modified 6 years, 8 months ago by bcworkz. Reason: entity encoded backticks
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘site rebuild, help with https redirect and css, js and images’ is closed to new replies.