- Postagens: 4
- Obrigados Recebidos: 0
URLs Amigáveis (Search Engine Friendly) no joomla 1.5
- MarcosFF
-
- Offline
- JCB! Novato
-
Menos
Mais
- dyego-s
-
- Offline
- JCB! Iniciante
-
Menos
Mais
- Postagens: 22
- Obrigados Recebidos: 0
13 anos 10 meses atrás #59204
por dyego-s
dyego-s replied the topic: Re: URLs Amigáveis (Search Engine Friendly) no joomla 1.5
Consegui, minha hospedagem é UOL, segui esse tuto e deu certinho...
1 - Crie um arquivo com o nome web.config na pasta raiz da aplicação com as seguintes configurações:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Security Rule" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAny">
<add input="{QUERY_STRING}" pattern="mosConfig_[a-zA-Z_]{1,21}(=|\%3D)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="base64_encode.*\(.*\)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="(\<|%3C).*script.*(\>|%3E)" />
<add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
</conditions>
<action type="CustomResponse" url="index.php" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
</rule>
<rule name="SEO Rule">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" />
<add input="{URL}" negate="true" pattern="^/index.php" ignoreCase="false" />
<add input="{URL}" pattern="(/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
2 - Faça Login como Administrador no painel de administração do Joomla;
3 - Acesse "Global Configuration", em seguida, "SEO Settings";
4 - Altere o item "Search Engine Friendly URLs" para "Yes";
5 - Altere o item "Use Apache mod_rewrite" para "Yes";
5 - Clique em "Save";
1 - Crie um arquivo com o nome web.config na pasta raiz da aplicação com as seguintes configurações:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Security Rule" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAny">
<add input="{QUERY_STRING}" pattern="mosConfig_[a-zA-Z_]{1,21}(=|\%3D)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="base64_encode.*\(.*\)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="(\<|%3C).*script.*(\>|%3E)" />
<add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
</conditions>
<action type="CustomResponse" url="index.php" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
</rule>
<rule name="SEO Rule">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" />
<add input="{URL}" negate="true" pattern="^/index.php" ignoreCase="false" />
<add input="{URL}" pattern="(/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
2 - Faça Login como Administrador no painel de administração do Joomla;
3 - Acesse "Global Configuration", em seguida, "SEO Settings";
4 - Altere o item "Search Engine Friendly URLs" para "Yes";
5 - Altere o item "Use Apache mod_rewrite" para "Yes";
5 - Clique em "Save";
Please Entrar ou Registrar to join the conversation.
- dyego-s
-
- Offline
- JCB! Iniciante
-
Menos
Mais
- Postagens: 22
- Obrigados Recebidos: 0
13 anos 10 meses atrás #59217
por dyego-s
dyego-s replied the topic: Re: URLs Amigáveis (Search Engine Friendly) no joomla 1.5
veja como ficou: <!-- w -->[url=http://www.efom.com.br" onclick="window.open(this.href);return false;]www.efom.com.br[/url]<!-- w -->
Please Entrar ou Registrar to join the conversation.
- mauremkayna
-
- Offline
- JCB! Novato
-
Menos
Mais
- Postagens: 3
- Obrigados Recebidos: 0
13 anos 5 meses atrás #71063
por mauremkayna
mauremkayna replied the topic: Re: URLs Amigáveis (Search Engine Friendly) no joomla 1.5
Eu segui o mesmo procedimento (também hospedo no UOLHost) e não funcionou. <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt="
" title="Virando os olhos" /><!-- s:roll: -->
Será que o problema é só o servidor? Já troquei de templates e o problema persiste.

Será que o problema é só o servidor? Já troquei de templates e o problema persiste.
Please Entrar ou Registrar to join the conversation.