Navigation woes

Recently, I noticed that the navigation on my site
has become erratic. When wanting to search , I invoke RECHERCHE (search) only to be taken to this link’ https://pideja.ca/?m=designer&c=https%3A&a=&p1=pideja.ca&p2=backlight witch gets me to the Home page! Same for most of the other sections, save for the PRODUCTION link that seems to work fine.
Is it just me or is it really an error?

Testing on other browsers, I get similar results. At one point, I got the HOME page while the url was: https://pideja.ca/contact/

https://pideja.ca

what does your menu set look like?
The Search item typically looks like this:

In Settings > Website Settings, what is the Page URL Format setting?

Hi Rod,
I changed the url for the search panel like you indicated and, for now, it works.
The format setting is: about/

Something odd: when invoking CONTACT, sometimes I get the url https://pideja.ca/?page=contact and the CONTACT page shows up, but when the url is https://pideja.ca/contact I get the HOME page!

Here is a screen shot of my menu:

Your About and Contact pages are using “Page” for the “Link to” item. The others are using URL for the “Link to” item.
I thought that if you used the “/contact” option for the URL Format the url for pages should be /about or /contact. That’s the way it works on my sites.
@Ben will have to comment.

It looks like your .htaccess file at the top of your site is missing or not working. This converts dynamic links such as /contact/ to paths that Backlight can execute. Can you find that file and if there paste its contents here?

Here is the content of my .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
AddHandler application/x-httpd-ea-php56___lsphp .php .php5 .phtml

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56___lsphp .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Hello Ben,
I’ve reverted to my “old” .htaccess file and all seems well…

RewriteOptions inherit
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{HTTPS} off
  RewriteCond %{HTTP_HOST} ^(www\.)?pideja\.ca$ [NC]
  RewriteRule ^(.*)$ https://www.pideja\.ca/$1 [L,R=301]

	############################################################################
	# Edit this section for servers using FastCGI

	# For FastCGI (or seeing the error message 'No input file specified.':
	# add # to the start of the next line
	RewriteBase /


	# For FastCGI (or seeing the error message 'No input file specified.':
	# add # to the start of the next line and remove # from the line after)
#	RewriteRule ^.*$ - [E=BASE:%2]
	#RewriteRule ^(.*)$ - [E=BASE:]

	############################################################################


	RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
	RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]

	RewriteRule ^([^\/]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]

	RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
	RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
	RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
	RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
	RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]

	#RewriteCond %{QUERY_STRING} !mod_rewrite=on
	#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

	RewriteCond %{QUERY_STRING} !mod_rewrite=on
	RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]

	RewriteCond %{QUERY_STRING} !mod_rewrite=on
	RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]

	RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]

</IfModule>

############################################################################
# To fix cross-origin font issues for non-Pages users, remove the preceding '#' on the next five lines:

#<IfModule mod_headers.c>
#	<FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
#		Header set Access-Control-Allow-Origin "*"
#	</FilesMatch>
#</IfModule>

############################################################################

<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
RewriteCond %{HTTP_HOST} ^.*$
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php82” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php82___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

1 Like

That’s great to hear. It looks like Backlight’s .htaccess file had been overwritten by another by the host.