What do i change in .htacess to change the URL prefix for blog posts?


A beginner’s question:

Where in the .htaccess file do I change ‘blog’ to ‘video’ if i want to change the url prefix for blog posts as directed in the config file:

$url_prefix = ‘blog’; // blog-1-post-title, if changed also edit htaccess

Not sure which ‘blog’ or ‘blog’(s) to change to ‘video’:

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

Thanks very much for your help!


RewriteRule ^video-page-([^-]*)$ ?page=$1&p=video [L]
RewriteRule ^video-([^-]*)+? ?d=$1&p=video [L]
1 Like

Thanks @IvaRo! :slight_smile:

Good information (not only for .htaccess) can be found at

https://github.com/ all Search = Search.


Unfortunately that didn’t seem to work. My url’s still have ‘blog’ in the prefix like this:



That just won’t work in RW sites, the .htaccess file is not evaluated there.

Thanks for sorting me out on that Jannis.

1 Like

No longer needed this step in Pulse 5.0.2