Change Bludit Root Destination

Post Reply
vuur
Ssr. Bludit
Posts: 10
Joined: Tue Apr 19, 2016 3:19 am

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
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Where is Bludit installed? In https://example.com or https://example.com/blog?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
vuur
Ssr. Bludit
Posts: 10
Joined: Tue Apr 19, 2016 3:19 am

Hello, Bludit is installed https://example.com/blog
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

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.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
vuur
Ssr. Bludit
Posts: 10
Joined: Tue Apr 19, 2016 3:19 am

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.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
vuur
Ssr. Bludit
Posts: 10
Joined: Tue Apr 19, 2016 3:19 am

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.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

vuur wrote:Edi if you still need address of website I shall PM.
No, if it works. :lol:
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply