This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Gery
Gery

Hi there, I was running a blog with Ghost but I fed up restarting the node.js service after every modification I make in a template. So I converted my site to October. I did it in mydomain.com/october folder. Now I'm finished with the templating and migrated all data and I wanted to move October to mydomain.com. Before that I permanently deleted Ghost from my server. However it doesn't work. Only the front page is displayed and if I click on a link on the site it goes "404 not found". I modified the the app.php file in the config folder: the application url has been changed from mydomain.com/october to mydomain.com.

What else do I need to do? Please help me as soon as you can because my whole site went offline!

Thank you, Gery

Gery
Gery

Is that question too hard to answer or is it so stupid?

pratyushpundir6424
pratyushpundir6424

I would say it's your .htaccess file and webserver (apache or Nginx whatever the case might be). Since your site resides in a subfolder, the urls are not getting setup properly). Two ways to deal with it.

  1. Create a virtual host thru your web server to serve straight out of your site directory. OR
  2. Make the change in your .htaccess. The required setting is in the very first couple of lines. Kinda hard to miss.
pratyushpundir6424
pratyushpundir6424

This is the part of .htaccess you might need to change:

    ##
    ## You may need to uncomment the following line for some hosting environments,
    ## if you have installed to a subdirectory, enter the name here also.
    ##
    # RewriteBase /

Pretty self-explanatory!

Gery
Gery

Yes, thank you very much!!!

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.