Blog post htaccess file NOT WORKING

Sorry to come here annoyed but the instructions and video do not match the reality.

  1. the rewrite rule in the htaccess file redirects from a blog post - from /blog to pulse/blog-post - but there is no content at pulse/blog-3-a-very-nice-blog-post

  2. Maybe the mention in the instructions video for installing the .access file in the pulse folder could be pertinent - but it’s impossible to know as the information here is wrong or out of date. It suggest the download of Pulse5-2 should contain a .htaccess file, which it doesn’t. It does contain a sample.htaccess file containing:

    RewriteEngine On
    

    RewriteBase /

    RewriteRule ^tagged/(.*)$ ?p=blog&blog_tag_name=$1 [L,QSA]

    RewriteRule ^blog-page-([^-])$ ?page=$1&p=blog [L,QSA]
    RewriteRule ^blog-([^-]
    )+? ?d=$1&p=blog [L,QSA]

    end points for embedding into non-Pulse sites

    RewriteRule ^endpoint/(.*)$ end_point.php?item=$1 [L,QSA]

    drop zone upload handler

    RewriteRule ^dropzone_upload_handler.php$ dropzone_upload_handler.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?p=$1 [QSA,L]

    Adds SVG image support

    AddType image/svg+xml svg svgz
    AddEncoding gzip svgz

    block directory listing

    Options -Indexes

But has no apparent effect when made into a .htaccees file.

So the questions remains how to link the blog titles to the relevant permalinks - I’ve followed the instructions but this does not work.

I trust someone can help.

Thanks, Tim

@TimWatt You are using Rapidweaver right? This step I missed the first time. Straight from the instructions on the Instacks site

For the “blog” to work you need to use 2 separate .htaccess files

  • the “sample.htaccess” you rename “.htaccess” and leave it in the “pulse” folder
  • then you need a 2nd .htaccess file in the folder where your blog is and it just has to have this in it (copied from here )The only thing you need to do is change the “/blogpage” to the name of the folder. Then your blog should work fine, I have it running on a few Rapidweaver sites now.

RewriteEngine On

RewriteBase /blogpage

RewriteRule ^blog-tag-([^-])+? ?p=blog&blog_tag_name=$1 [L,QSA]
RewriteRule ^blog-page-([^-]
)$ ?page=$1&p=blog [L,QSA]
RewriteRule ^blog-([^-]*)+? ?d=$1&p=blog [L,QSA]

Here is an example and I had to rename “/blogpage” to “/tips” in the .htaccess file

2 Likes

Thanks,

You were right the first step is not described in the video (though mentioned in passing) - but both of these files are in place in my effort.

Presumably the first file must redirect to relevant text files but it does not do that - or maybe there’s a php error, eg at:

http://dynamoproject.uk/test_build/pulse/blog-3-a-very-nice-blog-post

@TimWatt - yeah something is funky with your setup - your URL is “changing” and adding the wrong path…

Notice in my example,

On your site

2 Likes

Hi Tim,
Thanks for contacting us.
You have a non supported site setup.

See the requirements on https://instacks.com/pulsecmsstack/

  • Pulse 5 must be installed into a root subfolder /pulse
  • The RapidWeaver project must be installed in the root folder

Here is everything explained. If you keep the default installation requirements of Pulse, everything works flawlessly.
https://instacks.com/pulsecmsstack/tutorial/

Cheers, Jannis

1 Like

Thanks - I thought it would be OK if RW and Pulse were the same relative to each other in a test folder.

So I’ve moved to the root and some things work better and some not: default blog examples do but not content I’ve made and other things like password protection not at all.

I guess my best route is to delete it all and start again and I will have to remake all the blocks and folders etc.

Live and learn…,

You can move everything and run install.php again. Should work…

1 Like

This topic was automatically closed after 5 days. New replies are no longer allowed.