date in only some urls - Joomla! Forum - community, help and support


hi,

a while changed our settings seo friendly urls yes , use url rewriting yes. now, i've noticed urls have date followed alias , others alias. want alias appear.

the site http://www.p3proswing.com

note how support->repairs & retrofits has date other urls not. i'm adding new menu item (hidden until can resolved) , wants put date in. note date not show in alias field of menu item.

here .htaccess file in joomla root directory :

code: select all

##
# @package    joomla
# @copyright  copyright (c) 2005 - 2015 open source matters. rights reserved.
# @license    gnu general public license version 2 or later; see license.txt
##

##
# read if choose use file!
#
# line below section: 'options +followsymlinks' may cause problems
# server configurations.  required use of mod_rewrite, may already
# set server administrator in way disallows changing in
# .htaccess file.  if using causes server error out, comment out (add # to
# beginning of line), reload site in browser , test sef url's.  if work,
# has been set server administrator , not need set here.
##

## no directory listings
indexignore *

## can commented out if causes errors, see notes above.
options +followsymlinks
options -indexes

## mod_rewrite in use.

rewriteengine on

## begin - rewrite rules block out common exploits.
# if experience problems on site block out operations listed below
# attempts block common type of exploit `attempts` joomla!
#
# block out script trying base64_encode data within url.
rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or]
# block out script includes <script> tag in url.
rewritecond %{query_string} (<|%3c)([^s]*s)+cript.*(>|%3e) [nc,or]
# block out script trying set php globals variable via url.
rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or]
# block out script trying modify _request variable via url.
rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2})
# return 403 forbidden header , show content of root homepage
rewriterule .* index.php [f]
#
## end - rewrite rules block out common exploits.

## begin - custom redirects
#
# if need redirect pages, or set canonical non-www to
# www redirect (or vice versa), place code here. ensure those
# redirects use correct rewriterule syntax , [r=301,l] flags.
#
## end - custom redirects

##
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla! directory (just / root).
##

rewritebase /site3/

## begin - joomla! core sef section.
#
rewriterule .* - [e=http_authorization:%{http:authorization}]
#
# if requested path , file not /index.php , request
# has not been internally rewritten index.php script
rewritecond %{request_uri} !^/index\.php
# , requested path , file doesn't directly match physical file
rewritecond %{request_filename} !-f
# , requested path , file doesn't directly match physical folder
rewritecond %{request_filename} !-d
# internally rewrite request index.php script
rewriterule .* index.php [l]
#
## end - joomla! core sef section.


<ifmodule mod_expires.c>
# enable expirations
expiresactive on
# html
expiresbytype text/html "access plus 2 days"
</ifmodule>


and here .htaccess in domain root:

code: select all

rewriteengine on
rewritecond %{http_host} ^p3proswing\.com$ [or]
rewritecond %{http_host} ^www\.p3proswing\.com$
rewritecond %{request_uri} !^/[0-9]+\..+\.cpaneldcv$
rewritecond %{request_uri} !^/[a-f0-9]{32}\.txt(?:\ comodo\ dcv)?$
rewriterule ^/?$ "http\:\/\/www\.p3proswing\.com\/site3\/" [r=301,l]


any appreciated.

check alias menu item 'support'.
when use submenus url this

code: select all

yourwebsite.com/parent-menu-item/submenu-item





Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support