We have shifted our website from php to Joomla but it's creating dynamic URLs and google indexing them.
Our website is currently reachable via all of these URLs:
ww.w.example.com
ww.example.com
www.example.comwww.example.com
www.example.comadfadfwww.example.com
Why is this happening?
Check this one at first .The article is what you need.
https://joomlaseo.com/checklist/avoid-duplicate-url-s
Also i would recommend SH404SEF.
SH404SEF is probably the best known full SEO extension for Joomla.
It will help you a lot
Related
I'm basically trying to reverse-engineer a site made in Wordpress. My peer made our site in wordpress, and I would like to add some code to processing data from a form using the Contact Form 7 plugin. When viewing source, the form action is
/v2/wp/index.php/contact-us/#wpcf7-f57-p9-o1
Also I noticed that all the URL's of the various pages have text after the .php, which I don't understand.
http://.../index.php/information-for-sponsors/
In the first case, I don't understand how the "/contact-us/..." is processed. In the second case, I don't understand how "/information-for-sponsors/" is processed.
To implement this you need to look down the mod_rewrite option for Apache. It allows you to map urls and can be combined with php to get what you need.
For instance, I write a blog software before which translated the url .com/contact/ to .com/index.php?key=contact
Then using the key in php I returned the post with the title contact.
Google Apache Mod_ReWrite, it takes a while to undertstand fully and you need this option enabled on your host. Many Free hosts dont have this functionality enabled.
Though all the comments and answers above are absolutely correct, I am not sure, however, if you will understand any of them correctly.
Well, this concept is called URL Rewriting and is used for a variety of purposes such as improving ranking in search results, making readable keywords,etc.
There are lots of plugins in Wordpress which do this dirty work for you and there is also the Wordpress Codex(if you wish to write your own).
For your reference, I found this blog which will explain this better.
Smashing Magazine Article
I'm not asking for a whole engine of code. I'm working on a blog/magazine website. Here are the 2 styles of paginations. I see people use these types of addresses:
example.com/browse?page=100
example.com/page/100/
I understand 1.'s. But, 2. doesn't give me an impression of php usage in the address.
I did a search on Google, but there are only helps on 1. How do you manage 2.? Because whenever you write a new article, you have to push the content throughout every html? Did they use "fake addresses"? because I tried example.com/page/100/index.html and there is no such website.
Can anyone point me to a webpage or explain to me how did they manage 2. style of pagination? Which has a better UX?
Sorry if this is a bad title. Please help me edit and ask me if anywhere isn't clear.
It's URL Rewriting that is responsible or translating nice-looking Urls to their 'real' path on the server.
In your case,
www.example.com/page/100/
might be rewritten on the server to something like
www.example.com/browse.php?page=100
More info:
mod_rewrite for Apache
Url Rewrite for IIS
I am working on a WordPress website, and need to add a multilingual plugin.
Here is my problem: I don't want any automatic translation, but flags that lead to absolute links, as every language will be on a different domain name.
I can't find any existing plugin that is doing this, and I can't make my own one as I don't have enough time and my PHP skills are low.
Do you think about a plugin I could use for this? Or a plugin I could download and modify?
Thank you.
WPML allows you to use multiple domains for multiple languages. It is very reliable and offers many other possibilities.
They have a tutorial on their page: Multilingual Site Network with Domain Mapping.
i have created two website now i want one of them all url of web site do not end with .html how i can do it.please help me.
See this thread in the official Magento Forums:
http://www.magentocommerce.com/boards/viewthread/2244/
Since your questions so far have all been about Magento, I can just once more suggest to register with the Magento Community. You will likely get much better answers there. They also have multi-language boards, so you can phrase your questions in your native language.
you can change configuretion to set which suffix include url and you can change to exclude it too.
System->configuration->catalog->search engine optimization
I want to build a in-site search engine with php. Users must login to see the information. So I can't use the google or yahoo search engine code.
I want to make the engine searching for the text and pages, and not the tables in mysql database right now.
Has anyone ever done this? Could you give me some pointers to help me get started?
you'll need a spider that harvests pages from your site (in a cron job, for example), strips html and saves them in a database
You might want to have a look at Sphinx http://sphinxsearch.com/ it is a search engine that can easily be access from php scripts.
You can cheat a little bit the way the much-hated Experts-Exchange web site does. They are for-profit programmer's Q&A site much like StackOverflow. In order to see answers you have to pay, but sometimes the answers come up in Google search results. It is rather clear that E-E present different page for web crawlers and different for humans. You could use the same trick, then add Google Custom Search to your site. Users who are logged in would then see the results, otherwise they'd be bounced to login screen.
Do you have control over your server? Then i would recommend that you install Solr/Lucene for index and SolPHP for interacting with PHP. That way you can have facets and other nice full text search features.
I would not spider the actual pages, instead i would spider pages without navigation and other things that is not content related.
SOLR requiers Java on the server.
I have used sphider finally which is a free tool, and it works well with php.
Thanks all.
If the content and the titles of your pages are already managed by a database, you will just need to write your search engine in php. There are plenty of solutions to query your database, for example:
http://www.webreference.com/programming/php/search/
If the content is just contained in html files and not in the db, you might want to write a spider.
You may be interested in caching the results to improve the performances, too.
I would say that everything depends on the size and the complexity of your website/web application.