Ultimate Seo Urls 5 Pro
#461
Posted 02 February 2012 - 03:59 PM
#462
Posted 02 February 2012 - 04:38 PM
To see what more i can do for you check out my profile [click here]
#463
Posted 02 February 2012 - 07:55 PM
# If you are getting errors you may need to comment this out like ..
# Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase instructions
# Change RewriteBase dependent on how your shop is accessed as below.
# http://www.mysite.com = RewriteBase /
# http://www.mysite.com/catalog/ = RewriteBase /catalog/
# http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/
# Change RewriteBase using the instructions above
RewriteBase /
RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]
# Articles contribution
RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]
# Information pages
RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]
# Links contribution
RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]
# Newsdesk contribution
RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]
</IfModule>
My configure.php file looks like this:
<?php
define('HTTP_SERVER', 'http://www.mysite.com');
define('HTTPS_SERVER', 'https://www.mysite.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', '.mysite.com');
define('HTTPS_COOKIE_DOMAIN', '.mysite.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/var/www/vhosts/mysite.com/httpdocs/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'MyUserName');
define('DB_SERVER_PASSWORD', 'MyPassWord');
define('DB_DATABASE', 'MyDataBase');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>
Any suggestion?
#464
Posted 03 February 2012 - 01:33 AM
echo ' <td align="center" class="main">' . tep_draw_form('filter', tep_href_link( FILENAME_DEFAULT ), 'get') . TEXT_SHOW . ' ';
FIXED!
#465
Posted 03 February 2012 - 04:16 PM
#466
Posted 12 February 2012 - 06:35 PM
website: www.hcgweightclinic.com
.htaccess file:
# Begin Ultimate SEO V2.2d
Options +FollowSymLinks
RewriteEngine On
# RewriteBase instructions
# Change RewriteBase dependent on how your shop is accessed as below.
# http://www.hcgweightclinic.com = RewriteBase /
# http://www.hcgweightclinic.com/catalog/ = RewriteBase /catalog/
# http://www.hcgweightclinic.com/catalog/shop/ = RewriteBase /catalog/shop/
# Change the following line using the instructions above
RewriteBase /YOU HAVE TO CHANGE ME/
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}
# End Ultimate SEO V2.2d
# -FrontPage-
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthUserFile /home6/hcgweigh/public_html/_vti_pvt/service.pwd
AuthGroupFile /home6/hcgweigh/public_html/_vti_pvt/service.grp
# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php
AuthName hcgweightclinic.com
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
PLEASE HELP!!!
#467
Posted 12 February 2012 - 07:03 PM
i had to remove /YOU HAVE TO CHANGE ME/ text .... DUH !
#468
Posted 16 February 2012 - 11:14 AM
I have been working on a modification of ultimate seo urls that will allow up to three get vars to be rewritten in the url. It will work in the same way as the standard ultimate seo urls however if you configure the page module correctly you will be able to specify three get vars to be rewritten instead of the standard one.
At the minute my code outputs the url from tep_hre_link in the manner i want it to however when you visit the link it redirects to a standard ultimate seo urls url (one get var) because of the validator function. Does anybody know where i can modify the output of:
$new_url = htmlspecialchars_decode( tep_href_link( Usu_Main::i()->getVar( 'filename' ), Usu_Main::i()->getVar( 'request_querystring' ) ) );
Has anybody tried doing this before succesfully?
#469
Posted 20 February 2012 - 12:07 PM
I'm trying to implement the SEO URL 5 also on the mobile version of my site, which is in a sub domain: www.m.example.com.
I guess I need to update the "RewriteBase" in .htaccess of the subdomain somehow to make it work?
When using "RewriteBase /" all links goes to the standard site and if I change RewriteBase I get internal server error...
Thanks,
Carl
#470
Posted 24 February 2012 - 02:23 PM
I am applying FWR's USU to a new oscommerce 2.2 multistore
I have previously applied the ltest USU 5 to another multistore succesfully.
Maybe it is because this is another IIS server, but I cannot get it to work and it beats me why.
This is the error I get:
Fatal error: Uncaught exception 'RuntimeException' with message 'Directory name must not be empty.' in C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\modules\ultimate_seo_urls5\includes\usu_general_functions.php:244 Stack trace: #0 C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\modules\ultimate_seo_urls5\includes\usu_general_functions.php(244): DirectoryIterator->__construct('') #1 C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\modules\ultimate_seo_urls5\main\bootstrap.php(343): usu_dir_iterator(false) #2 C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\modules\ultimate_seo_urls5\main\bootstrap.php(83): Usu5_Bootstrap->loadPageModules() #3 C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\modules\ultimate_seo_urls5\main\usu5.php(119): Usu5_Bootstrap->bootStrapper(Array) #4 C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\application_top.php(334): Usu_Main->initiate(Array, '1', 'dutch') #5 C:\Inetpub\vhosts\mydomain.com\httpdocs\index.php(2): require('C:\Inetpub\vhos...') #6 {main} thrown in C:\Inetpub\vhosts\mydomain.com\httpdocs\includes\modules\ultimate_seo_urls5\includes\usu_general_functions.php on line 244
my guess it has something to do with
->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : array(), $languages_id, $language );in application_top.php
To my n00by knowledge $lng is an array that needs to be filled correctly and it doesn't.
Could anyone please point me in the right direction so I can finally get this to work and find other challenges? Thanks :0)
#471
Posted 26 February 2012 - 04:55 PM
So far everything seems to work except iam missing all the graphics & Images will not display, upon further investigation found that the path look like
http://mysite.comdir_ws_catalog/images/spi****.jpg
should be
http://mysite.com/catalog/images/spi****.jpg
I am new to all this, can some one help, not sure if I have to add a line to .htaccess or make changes to my configure.php
Thanks in advance
#472
Posted 05 March 2012 - 08:36 PM
Can anyone help me? I am new to this and not use me well.
Thanks in advance.
Edited by Magico, 05 March 2012 - 08:38 PM.
#473
Posted 15 March 2012 - 07:09 PM
I really need help whit am issue.
i 'm new in Oscommerce just have begin working in a business which uses this.
I'm trying to install Ultimate Seo Urls 5 Pro in the site but i have encounter some difficulties, after follow the installation steps its not working, I have already figured out these problems:
- In step 2 can't find "
tep_draw_form
('filter',FILENAME_DEFAULT,'get')
". - In step 3 in "
function
tep_redirect
(
$url)
" the first condition "
if ( (
strstr
(
$url
,
"\n"
) !=
false
) || (
strstr
(
$url
,
"\r"
) !=
false
) ) {
tep_redirect(tep_href_link(FILENAME_DEFAULT,'','NONSSL',false));}" had been deleted.
- in step 5 cant find exactly "
$PHP_SELF
= (((
strlen
(
ini_get
(
'cgi.fix_pathinfo'
)) >
0
) && (bool)
ini_get
(
'cgi.fix_pathinfo'
) ==
false
)) || !isset(
$HTTP_SERVER_VARS
[
'SCRIPT_NAME'
])) ?
basename
(
$HTTP_SERVER_VARS
[
'PHP_SELF'
]) :
basename
(
$HTTP_SERVER_VARS
[
'SCRIPT_NAME']);
", instead i found this "$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];". - in step 6 can't find "
tep_href_link
(
basename
(
$PHP_SELF
),
tep_get_all_get_params
(array(
'action'
)) .
'action=buy_now&products_id='
.
$listing
[
'products_id'])
".These problems are due to the changes that had been made in the files prior to the installation of the module, these changes are huge for example the process inside index.php had been divided and redirected into 3 new files and clearly these new files can't be found in the folder "\catalog\includes\modules\ultimate_seo_urls5\page_modules".
Also changes in Data Base structure have been made.
Please tell me if there is some way to correct these problems or if it is a lost cause.
Thanks.
#474
Posted 06 April 2012 - 02:00 PM
No input file specified.
has anyone had the same problem?
any idea what could be?
thanks
http://www.clubsoccershirt.com/index.php?language=en
#475
Posted 18 April 2012 - 02:16 PM
"filter short words" - How can I set this to 0? If I have a product with the letter "a" and set it to 1, it will remove the letter "a". e.g. "this-is-a-product-p-1.html" becomes this-is-product-p-1.html.
The main thing I like about this is that I can use paths for products, i.e. category/product.html which the chemo one does do. However my images/css use paths and not absolute URLs, so the page doesnt work properly. I cannot change these to absolute URLs because if I use http://www.mysite.com/stylesheet.css it will work, but when a user goes to the https (secure) part of the site they will get a "this website contains content that will not be delivered using a secure HTTPS connection" popup on every HTTPS page. Hope that makes sense
Any help on this would be apreciated
#476
Posted 18 April 2012 - 02:29 PM
I'm not clear on your 2nd, other than to say do not use absolute paths for inter-site links.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#477
Posted 18 April 2012 - 02:56 PM
How do I use the full url for css/images etc. I am not sure how to do it, because as I mentioned it will be fine, but then when someone goes to the secure part of my site they will get a popup because the image is from the http absolute url and not the https. I am sure it is very obvious, but i can't see it
#478
Posted 18 April 2012 - 04:06 PM
Have you set Remove all non-alphanumeric characters to false so it wont ignore your - ?
Have you looked at using a separate style sheet for SSL pages, that's the usual way.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#479
Posted 18 April 2012 - 04:36 PM
spooks, on 18 April 2012 - 04:06 PM, said:
Have you set Remove all non-alphanumeric characters to false so it wont ignore your - ?
Have you looked at using a separate style sheet for SSL pages, that's the usual way.
It is not just the css, it would be images. e.g. if I have an image in a sidebar and I use /image/image.jpg it will load fine in both the secure and regular parts of my site for the root, however not when using the paths for the SEO, because if i went to mysite.com/category/ it would look for the image in there, i.e. mysite.com/category/image/image.jpg where it does not exist. But if i use the full url (http://www.mysite.com/images/image.jpg) then once someone goes to the secure part they will get that "unsecure" popup since the image would be loaded from the http and not the https.
Thanks for your help so far
#480
Posted 18 April 2012 - 04:47 PM
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.









