Elxis CMS Forum

Ελληνικό Forum => Εγκατάσταση => Topic started by: thanasis on August 05, 2009, 13:44:10

Title: SEO pro και ΙOS RESERVATION [solved]
Post by: thanasis on August 05, 2009, 13:44:10
Μετά από πολύ καιρό ενεργοποίησα (επιτέλους) το SEO. Ο λόγος που δεν το είχα κάνει μέχρι τώρα ήταν γιατί ήμουν σε hosting με πολλά προβλήματα.
Τέλος πάντων, άλλαξα hosting και ησύχασα.
Όμως, ενώ το site λειτουργεί μια χάρα με το βασικό SEO, όταν το γυρνάω σε SEO PRO δεν μου βρίσκει τις html που δημιουργεί για τα ξενοδοχεία του reservation.
Σίγουρα, το πρόβλημα δεν πρέπει να βρίσκετε στο reservation αλλά σε κάτι που δεν μπορώ να σκεφτώ.

ΣΗΜΕΙΩΣΗ:
1) το elxis βρίσκεται σε υποφάκελο
2) έχω ενημερώσει τη σωστή διαδρομή του elxis στο .htaccess

Τί έχω κανει λάθος?
Title: Re: SEO pro και ΙOS RESERVATION
Post by: webgift on August 05, 2009, 14:23:37
Instructions to enable SEO PRO (Apache web server)

Inside the Elxis root folder you will find a file called htaccess.txt. Open this file with a text editor such as notepad, pspad, editpad, etc. Find this line:

# RewriteBase /YourElxisDirectory/

Remove the comment # and replace the "/YourElxisDirectory/" with the relative path to your Elxis installation. In most cases this will be just a slash "/". So, that line will become:

RewriteBase /

If your site is located in a sub-directory you should use something like this:

RewriteBase /mysite/

Please check this SEO PRO fix for Elxis 2008.0 and sites in sub-directories.

Inside that file you will also find some other options.
1.Read the comments and enable that features if you wish (optional).
2.Save this file as .htaccess Go to Elxis administration and in Global Configuration and navigate to the tab "SEO".
3.Select SEO PRO as the preferred method of generating the SEO URLs. Done!

Υποθετική περίπτωση :

https://forum.elxis.org/index.php?topic=1918.0
Title: Re: SEO pro και ΙOS RESERVATION
Post by: thanasis on August 05, 2009, 14:38:18
Αυτό που αναφέρει ο $webGift το έχω κάνει.
Για την ακρίβεια:

Quote
##
# Elxis 2009.0 htaccess file
# Copyright (C) 2006-2009 Elxis.org. All rights reserved.
# License: http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Elxis CMS is a Free Software
##

## Uncomment the following line, if it produces erors, comment it again
# Options -Indexes +FollowSymLinks

#
#  mod_rewrite in use
#

RewriteEngine On

# The following line tells the web server where your Elxis installation is located in relation
# to the web server root directory. By default this is set to the www root folder ( RewriteBase / ).
# If you have installed Elxis in a sub-folder then set this path properly.
# For example if your elxis site is accessible via this URL http://www.mysite.com/elxis/
# You should set: RewriteBase /elxis/

RewriteBase /elx/

# Uncomment the line bellow if you use static cache in order to deny direct access to cached files.
#RewriteRule ^cache/static/(.*)$ - [F]

Υπάρχει στο παραπάνω τμήμα του κώδικα κάποιο σχόλιο # που πρέπει να αφαιρέσω?
Title: Re: SEO pro και ΙOS RESERVATION
Post by: datahell on August 05, 2009, 18:03:20
Το πρόβλημα σου κατά 99,99999% είναι ότι μέσα στον κατάλογο includes/seopro/ δεν υπάρχει η επέκταση για το IOS Reservations.

ΟΔΗΓΙΕΣ
1. Κατέβασε αυτό το αρχείο στο pc σου:
administrator/components/com_reservations/includes/seopro.com_reservations.php

2. Μετονόμασέ το σε com_reservations.php

3. Ανέβασέ το στον κατάλογο includes/seopro/

Στο τέλος θα πρέπει να είναι έτσι: includes/seopro/com_reservations.php

Ενημερωτικά
Ένας εύκολος τρόπος για να εντοπίζετε αυτά τα προβλήματα είναι παρατηρώντας τις URL. Όταν βλέπετε SEO Basic URLs (option,com_reservations/Itemid,48/) σημαίνει πως το Elxis δεν μπόρεσε να εντοπίσει την SEO PRO επέκταση του εκάστοτε component οπότε επειδή δεν μπορεί να δημιουργήσει SEO PRO URL δημιουργεί SEO Basic. Άρα το πρόβλημα θα λυθεί αντιγράφοντας την επέκταση στον κατάλογο includes/seopro/ ώστε να την "δει" το elxis.
Title: Re: SEO pro και ΙOS RESERVATION
Post by: thanasis on August 06, 2009, 12:01:58
Οκ, αυτό ήταν το πρόβλημα.
Datahell χίλια ευχαριστώ.