Page 1 of 1

Change Bludit Root Destination

Posted: Tue Apr 19, 2016 3:24 am
by vuur
Hello! :)

Lets say I have a website https://example.com - Now here I have a welcome page etc. In my navigation the person can select Blog and be sent to https://example.com/blog. I have done this and everything runs perfectly except a couple of hiccups.
  • When I type https://example.com/blog it sends me to my default landing page, but if I do it again it shall send me to the blog (Does anyone know why?)
    Using the contact plugin after sending a message it redirects me to https://example.com/about how do I make it go back to the /blog folder.
Cheers

Edit: Redirect to /blog/about

Re: Change Bludit Root Destination

Posted: Tue Apr 19, 2016 12:22 pm
by Edi
Where is Bludit installed? In https://example.com or https://example.com/blog?

Re: Change Bludit Root Destination

Posted: Wed Apr 20, 2016 3:31 pm
by vuur
Hello, Bludit is installed https://example.com/blog

Re: Change Bludit Root Destination

Posted: Wed Apr 20, 2016 8:27 pm
by Fred
If you have configurate contact plugin in the about page, the form redirect here after submit, is normal.
It's possible to integrate a option in the plugin, for redirect if you want.

Re: Change Bludit Root Destination

Posted: Wed Apr 20, 2016 11:39 pm
by vuur
Merci Fred.

So for each Plugin I shall have to change where to redirect to, e.g Backup Plugin takes me to /backups not /blog/backups etc.

Re: Change Bludit Root Destination

Posted: Thu Apr 21, 2016 12:54 am
by Edi
vuur wrote: When I type https://example.com/blog it sends me to my default landing page, but if I do it again it shall send me to the blog (Does anyone know why?)
  • Do you have several files .htaccess? What is defined?
  • Can you please give the address of your website.

Re: Change Bludit Root Destination

Posted: Thu Apr 21, 2016 4:10 am
by vuur
Edi wrote:
vuur wrote: When I type https://example.com/blog it sends me to my default landing page, but if I do it again it shall send me to the blog (Does anyone know why?)
  • Do you have several files .htaccess? What is defined?
  • Can you please give the address of your website.
When I was taking screenshots to post my .htaccess files I found the mistake. I was forcing https but at the same time I was using the ReWriteRule for the root and /blog URL. Changing that fixed the issue and now I feel silly :lol: :lol:

Code: Select all

# Enable Rewrite rules
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/*blog*$1 [R,L]
* Added blog and everything works perfectly now.

Edi if you still need address of website I shall PM.

Re: Change Bludit Root Destination

Posted: Thu Apr 21, 2016 11:39 am
by Edi
vuur wrote:Edi if you still need address of website I shall PM.
No, if it works. :lol: