Domain Name Appended to Website URL

Good morning,

My website, https://timeenforcers.com was built under Concrete 5.

I am not sure what is causing this issue, the website name with a “-com” is being appended to the URL in the web browser:

timeenforcers.com/timeenforcers-com

How would I go about removing the appearance of “timeenforcers-com” from the URL addresses?

Thanks.

Environment information for the site:

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 5.7.35
SQL Mode: 

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), Framework Theme (1.7.9)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.49 (cPanel) OpenSSL/1.1.1l mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
7.3.31

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 200M
post_max_size - 200M
upload_max_filesize - 200M
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Maybe the canonical URL - set in the dashboard
Maybe an .htaccess issue.

Hi John,

Pretty URLs are turned on. Canonical settings are blank.

Here are the contents of the site’s .htaccess file:

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 200M
   php_value post_max_size 200M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
   php_value upload_max_filesize 200M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 200M
   php_value post_max_size 200M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
   php_value upload_max_filesize 200M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

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

# -- concrete5 urls start --
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME}/index.html !-f
	RewriteCond %{REQUEST_FILENAME}/index.php !-f
	RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --

Any insights would be appreciated.

Nothing in that jumps out to suggest a cause for your problem.

Can you send a screen grab of you sitemap?

Site map attached.

can you show mw the location properties on Games Experience?

My apologies for the delayed reply. Attached is the screenshot


for the location properties,

Looks like at some point you had this in a folder. I would add a new URL make it the canonical defaul then remove the old one.

So that I am doing this correctly, I would add a URL to the Alternative canonical URL, like https://timeenforce.com.

How do I go about removing the old version?

No you hit the blue button and add

/game-experience

Then remove the other one.

Basically it looks like the page was under another page at some point and remembered the old path.

Thank you, everyone. I figured out the issue. It had to do with the URL slug for the Home page in the SEO settings. The slug was labeled as timeenforcers-com.

That is the reason why the “timeenforcers-com” was being appended to the page URLs on the site. Not sure how that got there in the first place.

I greatly appreciate your efforts to assist me with this issue.

1 Like